﻿using Dtos;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IBLL
{
    public interface IPositionsBll
    {
        public Task<int> AddPositionsAsync(string title);
        public Task<int> UpdatePositionsAsync(Guid id, string title, DateTime updateTime);
        public Task<int> DeletePositionsAsync(Guid id);
        Task<List<PositionsDto>> GetAll();
        public Task<PositionsDto> GetPositionsByIdAsync(Guid id);
        public Task<List<PositionsDto>> GetPositionsByNameAsync(string title);
    }
}
